package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户满电积分记录
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_member_cost_reword")
@ApiModel(value = "XhMemberCostReword对象", description = "用户满电积分记录")
public class XhMemberCostReword implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("用户id")
    private Integer memberId;

    @ApiModelProperty("商城消费订单id")
    private Integer goodOrderId;

    @ApiModelProperty("1 增加 2减少")
    private Integer operation;

    @ApiModelProperty("1 商城消费 2 订单取消返还 3 注册奖励 4 备案奖励 5 租赁奖励 6 消费奖励")
    private Integer type;

    @ApiModelProperty("积分")
    private Integer cost;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date modifyTime;

}
